package com.senven.common.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author wt
 * @since 2022-09-05
 */
@TableName("settledlibrary")
@ApiModel(value = "Settledlibrary对象", description = "")
public class Settledlibrary implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "sid", type = IdType.AUTO)
    private Integer sid;

    @ApiModelProperty("商家名字")
    private String shopname;

    @ApiModelProperty("商家联系方式")
    private String shoptel;

    @ApiModelProperty("经营品类--记录品类id即可")
    private Integer shoptype;

    @ApiModelProperty("门店类型")
    private String branchtype;

    @ApiModelProperty("门店图")
    private String shopurl;

    @ApiModelProperty("法人身份证")
    private String personcardurl;

    @ApiModelProperty("营业执照")
    private String businesslicenseurl;

    @ApiModelProperty("经营许可证")
    private String coaurl;

    @ApiModelProperty("商家入驻提交时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime settledtime;

    @ApiModelProperty("审核时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.UPDATE)
    private LocalDateTime examtime;

    @ApiModelProperty("审核状态1待审核，2通过，3驳回")
    @TableField(fill = FieldFill.INSERT)
    private Integer examstate;

    @ApiModelProperty("驳回信息")
    private String remarks;

    @ApiModelProperty("门店地址")
    private String address;

    @ApiModelProperty("门店名")
    private String branchname;

    @ApiModelProperty("门店描述")
    private String branchdescrible;

    @ApiModelProperty("门店类型信息")
    @TableField(exist = false)
    private String btname;

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }
    public String getShopname() {
        return shopname;
    }

    public void setShopname(String shopname) {
        this.shopname = shopname;
    }
    public String getShoptel() {
        return shoptel;
    }

    public void setShoptel(String shoptel) {
        this.shoptel = shoptel;
    }
    public Integer getShoptype() {
        return shoptype;
    }

    public void setShoptype(Integer shoptype) {
        this.shoptype = shoptype;
    }
    public String getBranchtype() {
        return branchtype;
    }

    public void setBranchtype(String branchtype) {
        this.branchtype = branchtype;
    }
    public String getShopurl() {
        return shopurl;
    }

    public void setShopurl(String shopurl) {
        this.shopurl = shopurl;
    }
    public String getPersoncardurl() {
        return personcardurl;
    }

    public void setPersoncardurl(String personcardurl) {
        this.personcardurl = personcardurl;
    }
    public String getBusinesslicenseurl() {
        return businesslicenseurl;
    }

    public void setBusinesslicenseurl(String businesslicenseurl) {
        this.businesslicenseurl = businesslicenseurl;
    }
    public String getCoaurl() {
        return coaurl;
    }

    public void setCoaurl(String coaurl) {
        this.coaurl = coaurl;
    }
    public LocalDateTime getSettledtime() {
        return settledtime;
    }

    public void setSettledtime(LocalDateTime settledtime) {
        this.settledtime = settledtime;
    }
    public LocalDateTime getExamtime() {
        return examtime;
    }

    public void setExamtime(LocalDateTime examtime) {
        this.examtime = examtime;
    }
    public Integer getExamstate() {
        return examstate;
    }

    public void setExamstate(Integer examstate) {
        this.examstate = examstate;
    }
    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getBranchname() {
        return branchname;
    }

    public void setBranchname(String branchname) {
        this.branchname = branchname;
    }

    public String getBranchdescrible() {
        return branchdescrible;
    }

    public void setBranchdescrible(String branchdescrible) {
        this.branchdescrible = branchdescrible;
    }

    public String getBtname() {
        return btname;
    }

    public void setBtname(String btname) {
        this.btname = btname;
    }


    @Override
    public String toString() {
        return "Settledlibrary{" +
                "sid=" + sid +
                ", shopname='" + shopname + '\'' +
                ", shoptel='" + shoptel + '\'' +
                ", shoptype=" + shoptype +
                ", branchtype='" + branchtype + '\'' +
                ", shopurl='" + shopurl + '\'' +
                ", personcardurl='" + personcardurl + '\'' +
                ", businesslicenseurl='" + businesslicenseurl + '\'' +
                ", coaurl='" + coaurl + '\'' +
                ", settledtime=" + settledtime +
                ", examtime=" + examtime +
                ", examstate=" + examstate +
                ", remarks='" + remarks + '\'' +
                ", address='" + address + '\'' +
                ", branchname='" + branchname + '\'' +
                ", branchdescrible='" + branchdescrible + '\'' +
                ", btname='" + btname + '\'' +
                '}';
    }
}
